//
//  DealDetailedList.h
//  爱尚e购
//
//  Created by 嚷蜗痕殇心 on 15/1/27.
//  Copyright (c) 2015年 嚷蜗痕殇心. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DealDetailedList : NSObject

@property (nonatomic, retain)NSString *deal_id;//团购单ID
@property (nonatomic, retain)NSString *title;//团购标题
@property (nonatomic, retain)NSString *Description;//团购描述
@property (nonatomic, retain)NSString *city;//城市名称，city为＂全国＂表示全国
@property (nonatomic, assign)double list_price;//团购包含商品原价值
@property (nonatomic, assign)double current_price;//团购价格
@property (nonatomic, assign)NSInteger purchase_count;//团购当前已购买数
@property (nonatomic, retain)NSString *publish_date;//团购发布上线日期
@property (nonatomic, retain)NSString *purchase_deadline;//团购单的截止购买日期
@property (nonatomic, retain)NSString *image_url;//团购图片链接，最大图片尺寸450×280
@property (nonatomic, retain)NSString *s_image_url;//小尺寸团购图片链接，最大图片尺寸160×100
@property (nonatomic, assign)NSInteger is_popular;//是否为热门团购，0：不是，1：是
@property (nonatomic, assign)NSInteger distance;
//restrictions数组中得
@property (nonatomic, assign)NSInteger is_reservation_required;//是否需要预约，0：不是，1：是
@property (nonatomic, assign)NSInteger is_refundable;//是否支持随时退款，0：不是，1：是
@property (nonatomic, retain)NSString *special_tips;//特别提示(一般为团购的限制信息)
@property (nonatomic, retain)NSString *notice;//重要通知(一般为团购信息的临时变更)
@property (nonatomic, retain)NSString *deal_url;//团购Web页面链接，适用于网页应用
@property (nonatomic, retain)NSString *deal_h5_url;//团购HTML5页面链接，适用于移动应用和联网车载应用
@property (nonatomic, assign)float *commission_ratio;//当前团单的佣金比例
//businesses数组中得
@property (nonatomic, retain)NSMutableArray *businesses;//数组
@property (nonatomic, retain)NSString *name;//商户名
@property (nonatomic, assign)NSInteger Id;//商户ID
@property (nonatomic, assign)NSString *address;//商户地址
@property (nonatomic, assign)float latitude;//商户纬度
@property (nonatomic, assign)float longitude;//商户经度
@property (nonatomic, retain)NSString *url;//商户页链接
@property (nonatomic, retain)NSString *photo_list_url;//照片页面URL链接
@property (nonatomic, retain)NSString *review_list_url;//点评页面URL链接

@property (nonatomic, retain)NSMutableArray *regions;//所在区域信息列表，如[徐汇区，徐家汇]
@property (nonatomic, retain)NSMutableArray *categories;//所属分类信息列表，如[宁波菜，婚宴酒店]
@property (nonatomic, retain)NSMutableArray *deals;//团购列表

@end
